package org.jflame.devAide;

import java.nio.file.Path;
import java.nio.file.Paths;

public class Setting {

    /**
     * 项目根目录地址
     */
    private Path baseDir;

    /**
     * 项目数据存放路径
     */
    private Path dataDir;

    public Setting(String baseDir) {
        this.baseDir = Paths.get(baseDir);
    }

    public Setting(String baseDir, String dataDir) {
        this.baseDir = Paths.get(baseDir);
        this.dataDir = Paths.get(dataDir);
    }

    public Path getBaseDir() {
        return baseDir;
    }

    public Path getDataDir() {
        return dataDir;
    }

}
